﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DelonixRegiaHMSys.Core.Interfaces;
using DelonixRegiaHMSys.Core.Models;

namespace DelonixRegiaHMSys.Core.Services
{
    public class hkServices
    {
        private readonly IHousekeepingQuery _ScheduleQuery;
        public hkServices(IHousekeepingQuery ScheduleQuery)
        {
            _ScheduleQuery = ScheduleQuery;
        }
        //public IEnumerable<HousekeepingReport> GetAll()
        //{
        //    return _ScheduleQuery.GetAll();
        //}
        public void AddSchedule(HousekeepingReport sd)
        {
            _ScheduleQuery.AddSchedule(sd);
        }
        public void RetrieveSchedule(string scheduleID)
        {
            _ScheduleQuery.RetrieveSchedule(scheduleID);
        }

        public void UpdateSchedule(HousekeepingReport sd)
        {
            _ScheduleQuery.UpdateSchedule(sd);
        }
        public void DeleteSchedule(string scheduleID)
        {
            _ScheduleQuery.DeleteSchedule(scheduleID);
        }
    }
}
